<?php /* Smarty version 2.6.25, created on 2009-06-22 17:52:29
         compiled from admin_news_edit.tpl */ ?>
<form id="" action="?ctrl=adminnews&action=check" method="post">
<fieldset>
<legend>News dodawanie /edycja</legend>
<label for="title">tytul news</label>
<input type="text" name="title" value="<?php echo $this->_tpl_vars['news']->getTitle(); ?>
 " id="" />
<label for="intro">intro</label>
<input type="text" name="intro" value="<?php echo $this->_tpl_vars['news']->getIntro(); ?>
" id="" />
<label for="story">story</label>
<input type="text" name="story" value="<?php echo $this->_tpl_vars['news']->getStory(); ?>
" id="" />
<select name="id_vortal">
<?php $_from = $this->_tpl_vars['vortals']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['data']):
?> 
<option value="<?php echo $this->_tpl_vars['data']->getIdVortal(); ?>
"><?php echo $this->_tpl_vars['data']->getName(); ?>
</option>
<?php endforeach; endif; unset($_from); ?>
</select>
<input id="submit" name="c" type="submit" value="<?php echo $this->_tpl_vars['editButton']; ?>
" />
<input type="hidden" name="id_news" value="<?php echo $this->_tpl_vars['news']->getIdNews(); ?>
" />
</fieldset>
</form>